package com.community.pojo;

import java.util.Date;

public class Question {

    public static final String ENTITYNAME = "Question";

    private Integer id;

    private String title;

    private String describe;

    private String proposeUser;

    private Integer answerNumber;

    private Integer emergencyDegree;

    private Integer offered;

    private Double money;

    private Date endtime;

    private Integer status;

    private Integer answerModel;

    private Double answerMoney;

    private Date createTime;

    private Date updateTime;

    public Question(Integer id, String title, String describe, String proposeUser, Integer answerNumber, Integer emergencyDegree, Integer offered, Double money, Date endtime, Integer status, Integer answerModel, Double answerMoney, Date createTime, Date updateTime) {
        this.id = id;
        this.title = title;
        this.describe = describe;
        this.proposeUser = proposeUser;
        this.answerNumber = answerNumber;
        this.emergencyDegree = emergencyDegree;
        this.offered = offered;
        this.money = money;
        this.endtime = endtime;
        this.status = status;
        this.answerModel = answerModel;
        this.answerMoney = answerMoney;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Question() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe == null ? null : describe.trim();
    }

    public String getProposeUser() {
        return proposeUser;
    }

    public void setProposeUser(String proposeUser) {
        this.proposeUser = proposeUser == null ? null : proposeUser.trim();
    }

    public Integer getAnswerNumber() {
        return answerNumber;
    }

    public void setAnswerNumber(Integer answerNumber) {
        this.answerNumber = answerNumber;
    }

    public Integer getEmergencyDegree() {
        return emergencyDegree;
    }

    public void setEmergencyDegree(Integer emergencyDegree) {
        this.emergencyDegree = emergencyDegree;
    }

    public Integer getOffered() {
        return offered;
    }

    public void setOffered(Integer offered) {
        this.offered = offered;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAnswerModel() {
        return answerModel;
    }

    public void setAnswerModel(Integer answerModel) {
        this.answerModel = answerModel;
    }

    public Double getAnswerMoney() {
        return answerMoney;
    }

    public void setAnswerMoney(Double answerMoney) {
        this.answerMoney = answerMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}